package com.webside.points.model;

import java.util.Date;

import com.webside.points.wechat.DateUtil;

public class AdvertisingEntity {

	/*
	 * ID
	 */
	private int id;
	/*
	 * 标题
	 */
	private String title;
	/*
	 * 图片
	 */
	private String image;
	/*
	 * 状态
	 */
	private String status;
	/*
	 * 描述
	 */
	private String describe;
	/*
	 * 创建时间
	 */
	private Date createTime;
	/*
	 * 格式化创建时间
	 */
	private String createDateFormat;
	/*
	 * 链接
	 */
	private String link;
	/*
	 * 位置
	 */
	private String location;
	
	

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getLink() {
		return link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getCreateDateFormat() {
		return createDateFormat;
	}

	public void setCreateDateFormat(String createDateFormat) {
		this.createDateFormat = createDateFormat;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getImage() {
		return image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getDescribe() {
		return describe;
	}

	public void setDescribe(String describe) {
		this.describe = describe;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
		this.createDateFormat = DateUtil.dateFormat(createTime);
	}

	@Override
	public String toString() {
		return "AdvertisingEntity [id=" + id + ", image=" + image + ", status=" + status + ", describe=" + describe
				+ ", createTime=" + createTime + ", createDateFormat=" + createDateFormat + ", link=" + link
				+ ", location=" + location + "]";
	}
	
	

	
	
	
}
